home *** CD-ROM | disk | FTP | other *** search
- // WinHacker Script
- // Copyright (c) 1996 Wedge Software
- //
- // Full Registry Example
- //
-
- [Main]
- Desc = Full Registry Example
- // Ask = Are you sure you want to run the Registry Example?
- // StartMessage = Starting Registry Example.
- // ExitMessage = Done.
-
- [Registry]
- Procs = 5
-
- [RegistryProc#1]
- // Ask = Run RegistryProc#1? (dword example)
- RootKey = HKEY_CURRENT_USER
- Path = Software\Wedge Software\WinHacker 95\Junk Yard
- Item = A DWORD
- Action = WriteDword
- Value = (dialog)
- Value.dialog.text = This is a test of the DWORD dialog, so please enter
- Value.dialog.text2 = a DWORD in the space below. The default is 1003434.
- Value.dialog.default = 1003434
-
-
- [RegistryProc#2]
- // Ask = Run RegistryProc#2? (dword example)
- RootKey = HKEY_CURRENT_USER
- Path = Software\Wedge Software\WinHacker 95\Junk Yard
- Item =
- Action = WriteString
- Value = (dialog)
- Value.dialog.text = This is a test of the String dialog, so please enter
- Value.dialog.text2 = a String in the space below. The default is 100ab.
- Value.dialog.default = 100ab
-
-
- [RegistryProc#3]
- // Ask = Run RegistryProc#3? (hex example)
- RootKey = HKEY_CURRENT_USER
- Path = Software\Wedge Software\WinHacker 95\Junk Yard
- Item = Hex
- Action = WriteHex
- Value = (dialog)
- Value.dialog.text = This is a test of the Hex dialog, so please enter
- Value.dialog.text2 = a Hex value in the space below. The default is 77 68
- Value.dialog.default = 77 68
-
- // Value = 77 68 39 35
- // (it says "wh95")
-
- // Create a value called "test" so we can delete it later
- [RegistryProc#4]
- Ask = Create value "test" so we can delete it later?
- RootKey = HKEY_CURRENT_USER
- Path = Software\Wedge Software\WinHacker 95\Junk Yard
- Item = test
- Action = WriteString
- Value = this is a test string!
-
- // Delete "test"
- [RegistryProc#5]
- Ask = Delete value "test"?
- RootKey = HKEY_CURRENT_USER
- Path = Software\Wedge Software\WinHacker 95\Junk Yard
- Item = test
- Action = Delete
-
-